-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r/glue_connection - validations #19172
r/glue_connection - validations #19172
Conversation
@@ -2446,6 +2446,29 @@ func MapKeysDoNotMatch(r *regexp.Regexp, message string) schema.SchemaValidateFu | |||
} | |||
} | |||
|
|||
func MapKeyInSlice(valid []string, ignoreCase bool) schema.SchemaValidateFunc { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this may want to be moved to upstream sdk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See also hashicorp/terraform-plugin-sdk#649.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
Commercial
$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSGlueConnection_' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSGlueConnection_ -timeout 180m
=== RUN TestAccAWSGlueConnection_basic
=== PAUSE TestAccAWSGlueConnection_basic
=== RUN TestAccAWSGlueConnection_MongoDB
=== PAUSE TestAccAWSGlueConnection_MongoDB
=== RUN TestAccAWSGlueConnection_Kafka
=== PAUSE TestAccAWSGlueConnection_Kafka
=== RUN TestAccAWSGlueConnection_Description
=== PAUSE TestAccAWSGlueConnection_Description
=== RUN TestAccAWSGlueConnection_MatchCriteria
=== PAUSE TestAccAWSGlueConnection_MatchCriteria
=== RUN TestAccAWSGlueConnection_PhysicalConnectionRequirements
=== PAUSE TestAccAWSGlueConnection_PhysicalConnectionRequirements
=== RUN TestAccAWSGlueConnection_disappears
=== PAUSE TestAccAWSGlueConnection_disappears
=== CONT TestAccAWSGlueConnection_MongoDB
=== CONT TestAccAWSGlueConnection_MatchCriteria
--- PASS: TestAccAWSGlueConnection_MongoDB (15.64s)
=== CONT TestAccAWSGlueConnection_disappears
--- PASS: TestAccAWSGlueConnection_disappears (9.46s)
=== CONT TestAccAWSGlueConnection_PhysicalConnectionRequirements
--- PASS: TestAccAWSGlueConnection_MatchCriteria (34.93s)
=== CONT TestAccAWSGlueConnection_basic
--- PASS: TestAccAWSGlueConnection_basic (12.69s)
=== CONT TestAccAWSGlueConnection_Description
--- PASS: TestAccAWSGlueConnection_Description (21.98s)
=== CONT TestAccAWSGlueConnection_Kafka
--- PASS: TestAccAWSGlueConnection_Kafka (13.01s)
--- PASS: TestAccAWSGlueConnection_PhysicalConnectionRequirements (692.02s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 717.236s
This has been released in version 3.39.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Output from acceptance testing: